
import "taro-ui/dist/style/components/button.scss" // 按需引入
import './index.scss'
import {View, Image} from "@tarojs/components";
import {AtButton} from "taro-ui";
import GlobalFooter from "../../components/GlobalFooter";
import indexBgImg from '../../assets/indexBgImg.png'
import Taro from "@tarojs/taro";
export default () => {
  return (
    <View className='indexPage'>
      <View className='textCss topText'>
        MBTI 性格测试
      </View>
      <View className='textCss subText'>
        只需要两分钟，就能快速描述你是谁，以及你的性格
      </View>
      <AtButton type='primary' circle className='indexBtn' onClick={() => {
        Taro.navigateTo({
          url: '/pages/doQuestion/index'
        });
      }}>
        开始测试
      </AtButton>
      <Image className='bgImg' src={indexBgImg}/>
      <GlobalFooter/>
    </View>
  )
}
